﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using Sisocana.Core.Interfaces;
using Sisocana.Dal.EntityModels;


namespace Sisocana.Core.Models
{
    public abstract class FuenteModel : IFuenteModel
    {
        [DisplayName("Name")]
        [Required(ErrorMessage = "The Name is required")]
        public string nombre { get; set; }
        
        [DisplayName("Description")]
        [Required(ErrorMessage = "The Description is required")]
        public string descripcion { get; set; }

        public byte[] logo { get; set; }
        public string logoExt { get; set; }
        public string logoNomb { get; set; }

        [DisplayName("Web")]
        public string pagWeb { get; set; }

    }
}
